page {
  background: #EAECF6;
}

.content {
  padding: 30rpx 36rpx 187rpx 36rpx;
  .user-info {
    padding: 30rpx 24rpx;
    background: #FFFFFF;
    border-radius: 12rpx;
    .text {
      font-family: PingFangSC, PingFang SC;
      font-weight: 400;
      font-size: 26rpx;
      color: #000000;
      line-height: 37rpx;
    }
    .user {
      display: flex;
      justify-content: space-between;
      padding: 12rpx 0 29rpx 0;
      border-bottom: 1rpx dashed #CCCCCC;
      .name-phone {
        display: flex;
        align-items: baseline;
        .name {
          flex-shrink: 0;
          margin-right: 15rpx;
          font-family: PingFangSC, PingFang SC;
          font-weight: 600;
          font-size: 42rpx;
          color: #000000;
          line-height: 59rpx;
        }
        .phone {
          font-family: PingFangSC, PingFang SC;
          font-weight: 400;
          font-size: 26rpx;
          color: #000000;
          line-height: 37rpx;
        }
      }
      .change-address {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 166rpx;
        height: 60rpx;
        background: rgba(138,117,255,0.17);
        border-radius: 4rpx;
        border: 1rpx solid #8A75FF;
        .change-text {
          font-family: PingFangSC, PingFang SC;
          font-weight: 400;
          font-size: 26rpx;
          color: #8A75FF;
          line-height: 37rpx;
        }
        image {
          width: 8rpx;
          height: 18rpx;
        }
      }
      .change-address:active {
        background: rgba(138,117,255,0.2);
      }
    }
    .address {
      padding-top: 23rpx;
      font-family: PingFangSC, PingFang SC;
      font-weight: 400;
      font-size: 26rpx;
      color: #000000;
      line-height: 37rpx;
    }
  }
  .goods-info {
    margin-top: 30rpx;
    padding: 0 24rpx 33rpx 24rpx;
    background: #FFFFFF;
    border-radius: 12rpx;
    .goods-item {
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 30rpx;
      padding-bottom: 33rpx;
      background: #FFFFFF;
      border-radius: 12rpx;
      border-bottom: 1rpx solid rgba($color: #000000, $alpha: 0.08);
      .good-image {
        flex-shrink: 0;
        image {
          width: 180rpx;
          height: 180rpx;
        }
      }
      .good-detail {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 180rpx;
        margin: 0 35rpx;
        .good-name {
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 3;
          font-family: PingFangSC, PingFang SC;
          font-weight: 500;
          font-size: 26rpx;
          color: #000000;
          overflow: hidden; 
          text-overflow: ellipsis;
        }
        .discount-card {
          display: flex;
          justify-content: flex-start;
          align-items: center;
          .discount-text,
          .discount-use  {
            max-width: 300rpx;
            margin-right: 17rpx;
            font-family: PingFangSC, PingFang SC;
            font-weight: 400;
            font-size: 24rpx;
            color: #827CF9;
            line-height: 33rpx;
            white-space: nowrap; 
            overflow: hidden; 
            text-overflow: ellipsis;
          }
          .discount-use {
            color:#d0d0d0;
          }
          image {
            width: 8rpx;
            height: 18rpx;
          }
        }
        .price-num {
          display: flex;
          justify-content: space-between;
          align-items: center;
          .price {
            display: flex;
            align-items: baseline;
            .flag {
              font-weight: 400;
              font-size: 22rpx;
              color: #000;
            }
            .value {
              font-family: PingFangSC, PingFang SC;
              font-weight: 500;
              font-size: 30rpx;
              color: #000;
            }
          }
          .num {
            display: flex;
            align-items: center;
            .sub,
            .add {
              display: flex;
              justify-content: space-around;
              align-items: center;
              width: 48rpx;
              height: 48rpx;
              border-radius: 6rpx;
              border: 1rpx solid #D0D0D0;
              image {
                width: 80%;
                height: 100%;
              }
            }
            .value {
              display: flex;
              align-items: baseline;
              width: 29rpx;
              padding: 0 12rpx;
              font-family: PingFangSC, PingFang SC;
              font-weight: 400;
              font-size: 24rpx;
              color: #000000;
              .text {
                margin-left: 8rpx;
                font-size: 28rpx;
              }
            }
            .sub:active,
            .add:active {
              background: #eee;
            }
          }
        }
      }
    }
    .coupon {
      display: flex;
      justify-content: space-between;
      padding: 30rpx 24rpx 0rpx 0;
      .text {
        flex-shrink: 0;
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 26rpx;
        color: #A0A0A0;
      }
      .discount-card {
        display: flex;
        align-items: center;
        .discount-text {
          margin-right: 17rpx;
          font-family: PingFangSC, PingFang SC;
          font-weight: 400;
          font-size: 26rpx;
          color: #827CF9;
        }
        image {
          width: 8rpx;
          height: 18rpx;
        }
      }
    }
    .notes {
      display: flex;
      align-items: center;
      height: 72rpx;
      padding: 36rpx 24rpx 6rpx 0;
      font-size: 24rpx;
      .text {
        flex-shrink: 0;
        margin-right: 18rpx;
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 24rpx;
        color: #A0A0A0;
      }
      input {
        width: 100%;
        padding: 18rpx 23rpx;
        background: #F7F7F7;
        border-radius: 6rpx;
      }
    }
  }
  .price-info {
    margin-top: 33rpx;
    padding: 26rpx 22rpx 45rpx 24rpx;
    background: #FFFFFF;
    border-radius: 12rpx;
    .price,
    .freight,
    .coupon-price,
    .payway {
      display: flex;
      justify-content: space-between;
      padding-bottom: 30rpx;
      .text {
        flex-shrink: 0;
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 26rpx;
        color: #A0A0A0;
        line-height: 37rpx;
      }
      .value {
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 26rpx;
        color: #000000;
        line-height: 37rpx;
      }
      .way {
        display: flex;
        align-items: center;
        image {
          width: 34rpx;
          height: 30rpx;
          margin-right: 10rpx;
        }
      }
    }
    .coupon-price {
      border-bottom: 1rpx solid rgba(0, 0, 0, 0.08);
    }
    .payway {
      margin-top: 30rpx;
      padding-bottom: 0;
    }
  }
}

.mask {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.dialog {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 38rpx 38rpx 38rpx;
  height: 956rpx;
  background: #EAECF6;
  border-radius: 30rpx 30rpx 0rpx 0rpx;
  overflow: scroll;
  .title {
    position: fixed;
    z-index: 2;
    display: flex;
    align-items: center;
    left: 30rpx;
    right: 30rpx;
    justify-content: space-between;
    height: 100rpx;
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 32rpx;
    color: #1D1D1D;
    background: #EAECF6;
    .close {
      font-weight: 400;
      font-size: 28rpx;
      color: rgba(29,29,29,0.5);
      line-height: 40rpx;
    }
  }
  .empty {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 90rpx;
    margin-top: 100rpx;
    padding-left: 28rpx;
    background: #FFFFFF;
    border-radius: 12rpx;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 28rpx;
    color: #1D1D1D;
    line-height: 40rpx;
  }
  .list {
    display: flex;
    justify-content: space-between;
    padding: 27rpx 30rpx 26rpx 38rpx;
    margin-top: 30rpx;
    background: #FFFFFF;
    border-radius: 12rpx;
    .card-info {
      display: flex;
      align-items: center;
      .card-type {
        flex-shrink: 0;
        font-family: PingFangSC, PingFang SC;
        font-weight: 600;
        font-size: 42rpx;
        color: #827CF9;
        line-height: 59rpx;
      }
      .card-detail {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-left: 35rpx;
        .card-title {
          font-family: PingFangSC, PingFang SC;
          font-weight: 600;
          font-size: 36rpx;
          color: #000000;
          line-height: 50rpx;
        }
        .card-time {
          display: flex;
          align-items: center;
          margin-top: 9rpx;
          font-family: PingFangSC, PingFang SC;
          font-weight: 300;
          font-size: 20rpx;
          color: rgba(0,0,0,0.5);
          line-height: 28rpx;
          .value {
            margin-left: 10rpx;
          }
        }
      }
    }
  }
}